// 系统设置模拟数据
import type { PersonalSettings, NotificationSettings, SecuritySettings, SystemConfigurations } from '../types/settings';

export const settingsData = {
  personal: {
    id: '1',
    name: '赵工程师',
    email: 'zhao@example.com',
    phone: '138****6789',
    language: '中文',
    timeZone: 'GMT+8',
    department: '技术部',
    position: '高级工程师'
  } as PersonalSettings,
  
  notification: {
    id: '1',
    email: {
      newTask: true,
      taskUpdate: true,
      comment: true,
      system: true
    },
    push: {
      newTask: true,
      taskUpdate: false,
      comment: true,
      system: false
    },
    sms: {
      newTask: false,
      taskUpdate: false,
      comment: false,
      emergency: true
    },
    audio: {
      enabled: true,
      volume: 80,
      voicePrompt: true,
      newMessage: true,
      taskNotification: true,
      systemNotification: true
    },
    dailySummary: "afternoon",
    weeklySummary: "none"
  } as NotificationSettings,
  
  security: {
    id: '1',
    twoFactorAuth: true,
    loginAlerts: true,
    sessionTimeout: 30,
    passwordExpiry: 90,
    failedLoginAttempts: 5,
    ipWhitelist: ['192.168.1.0/24', '10.0.0.0/8']
  } as SecuritySettings,
  
  system: {
    id: '1',
    language: '中文',
    timeZone: 'GMT+8',
    theme: 'light',
    autoSave: true,
    backupInterval: 24,
    maxFileSize: 10,
    allowedFileTypes: ['jpg', 'png', 'pdf', 'doc', 'docx']
  } as SystemConfigurations
};